package com.video.system.domain;

import com.video.common.annotation.Excel;
import com.video.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 课程分类对象 video_category
 * 
 * @author lyh
 * @date 2021-07-31
 */
public class VideoCategory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 课程分类ID */
    private Integer caId;

    /** 分类编码 */
    @Excel(name = "分类编码")
    private String caCode;

    /** 分类名称 */
    @Excel(name = "分类名称")
    private String caName;

    public void setCaId(Integer caId) 
    {
        this.caId = caId;
    }

    public Integer getCaId() 
    {
        return caId;
    }
    public void setCaCode(String caCode) 
    {
        this.caCode = caCode;
    }

    public String getCaCode() 
    {
        return caCode;
    }
    public void setCaName(String caName) 
    {
        this.caName = caName;
    }

    public String getCaName() 
    {
        return caName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("caId", getCaId())
            .append("caCode", getCaCode())
            .append("caName", getCaName())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
